/**
 * StarInfoFrameBase.java
 *
 * Roslan's Remake of MOO in 3D using Ardor3D
 * (C) 2011 Roslan Amir. All rights reserved.
 */

package com.roslan.games.moo3d.ui.hud;

import com.ardor3d.extension.ui.backdrop.UIBackdrop;
import com.roslan.games.moo3d.spatial.StarNode;

/**
 * The base class for all star (and colony) information panels.
 * 
 * @author Roslan Amir
 * @version 1.0 - Jan 10, 2011
 */
public abstract class StarInfoFrameBase extends InfoFrameBase {

	/**
	 * Constructor.
	 * 
	 * @param title - the title of the frame
	 * @param backDrop - the backdrop to use
	 */
	public StarInfoFrameBase(String title, UIBackdrop backDrop) {
		super(title, backDrop);
	}

	/**
	 * Update the information to the currently selected Star (or Colony).
	 * 
	 * @param starNode - the Star (or Colony) whose info is to be updated
	 */
	protected abstract void update(StarNode starNode);

}
